Class Layer

java.lang.Object
edu.uky.ai.ml.nn.Layer
Direct Known Subclasses:
InputLayer

public class Layer
extends java.lang.Object
A layer is a collection of neurons in a neural network. There are two special layers: the input and output layers. All other layers are called hidden layers. Traditionally, all neurons at layer i are connected to all neurons at layer i + 1.
Author:
Stephen G. Ware
  • Field Summary

    Fields 
    Modifier and Type Field Description
    Neuron[] neurons
    The neurons in this layer
    Layer previous
    The layer immediately before this layer
  • Method Summary

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • neurons

      public final Neuron[] neurons
      The neurons in this layer
    • public final Layer previous
      The layer immediately before this layer